home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / YAS2000.L2 < prev    next >
Text File  |  1996-04-01  |  4KB  |  129 lines

  1. name Yasnac 2000B
  2.  
  3. % 00
  4. N >4 Mult 10
  5. G >2
  6. X ->3.>4
  7. Z ->3.>4
  8. D >2
  9. I ->3.>4
  10. K ->3.>4
  11. U ->3.>4
  12. W ->3.>4
  13. P ->3.>4
  14. A 60 P
  15. Q ->3.>4
  16. q ->3.>4 Q
  17. R ->3.>4
  18. F >3.>3
  19. T 2 
  20. t 2 ""
  21. S >4
  22. M >2
  23.  
  24. ModalGs 0 1 2 3 73 76 80 81 82        # List of g codes that are modal    
  25.  
  26. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  27. First#? N                             # Y or N  'Output 1st sequence no.  
  28. Last#? N                              # Y or N  'Output last sequence no. 
  29.  
  30. Comment ( )                           # Begin End comment char.           
  31.  
  32. HCode Z                               # X or X U  'Horizontal char.       
  33. VCode X                               # Y or Y V  'Vertical char.         
  34. FeedCode F                            # Feed rate char.                   
  35.  
  36. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  37. Coolant 8 9 7                         # On, Off & Mist m codes            
  38. SpeedType G 97 96                     # CSS and RPM g codes               
  39. FeedType G 95 94                      # IPR & IPM g codes                 
  40.  
  41. ByDiameter? Y                         # Y or N  'Output X val. by diameter
  42. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  43. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  44.  
  45. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  46.  
  47. Inch/MM 20 21                         # Inch & Metric g codes             
  48.  
  49. CtrCode K I                           # I J or R or I J K L               
  50.  
  51. Spaces? N                             # Y or N  'Spaces between words     
  52.  
  53. Feed G1                               # Linear move                       
  54. Rapid G0                              # Rapid positioning word            
  55. Cw G3                                 # Circular move clockwise           
  56. Ccw G2                                # Circular move counter clockwise   
  57.  
  58. RevSigns X I                          # List of letters to reverse signs  
  59.  
  60. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  61.  
  62.  
  63. Drill                                 # Drilling canned/manual cycle      
  64. G1 Z[H] F[Frate]
  65. G0 Z[SClear]
  66. end
  67.  
  68. AutoThread                            # Automatic thread canned cycle     
  69. G76 A[TParams] Q[VBite] R0
  70. G76 X[V] Z[H] R[StartAng] P[Depth] q[Peck1] F[Frate]
  71. end
  72.  
  73. Peck                                  # Pecking canned/manual cycle       
  74. none
  75. end
  76.  
  77. Tap                                   # Tapping canned/manual cycle       
  78. G78 Z[H] F[FRate]
  79. end cancel
  80.  
  81. Ream                                  # Reaming canned/manual cycle       
  82. G1 Z[H] F[FRate]
  83. G0 Z[SClear]
  84. end
  85.  
  86. Cancel                                # Cancel a canned/manual cycle      
  87. G80
  88. end
  89.  
  90. StartCode                             # Start of the program              
  91. N[Block]
  92. end
  93.  
  94. 1stToolChange                         # First tool change                 
  95. G50 X8.0 Z5.0
  96. T[Tool] t[Dcomp]
  97. G0 X[V]
  98. G[FeedType] G[SpeedType] S[Speed] M[Direct]
  99. Z[H] M[Cool]
  100. End
  101.  
  102. Infeed                                # Enable cutter comp                
  103. G1 X[V] Z[H] D[Dcomp] F[FRate]
  104. end
  105.  
  106. Outfeed                               # Disable cutter comp               
  107. G1 X[V] Z[H] F[FRate]
  108. end
  109.  
  110. ToolChange                            # Secondary tool changes            
  111. G0 X8.0 Z5.0 M5
  112. T[LastTool] t00
  113. N[Block]
  114. G50 X8.0 Z5.0
  115. T[Tool] t[Dcomp]
  116. G0 X[V]
  117. G[FeedType] G[SpeedType] S[Speed] M[Direct]
  118. Z[H] M[Cool]
  119. End
  120.  
  121. EndCode                               # End of the program                
  122. G0 X8.0 Z5.0
  123. G28 W0 M5
  124. G28 U0 T00 t00
  125. M30
  126. %0
  127. End
  128.  
  129.